/**
 * 
 */
package scriptrunner.execution;

import java.io.Serializable;

/**
 * @author Administrator
 * 
 */
public class LHName extends LeftHandSideExpr implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1664664388155986444L;

	/**
	 * 
	 */
	public LHName(String n) {
		this.n = n;
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see
	 * scriptrunner.execution.LeftHandSideExpr#AssignValue(scriptrunner.execution
	 * .EvaluateExpr)
	 */
	@Override
	public void AssignValue(Session se, ValueObject rhs)
			throws ExecuteErrorException {
		se.setVariableValue(n, rhs);
	}

	String n;
}
